package org.zjx.analysis.tap;

import org.zjx.core.IWindow;
import org.zjx.util.ImageUtil;

import java.awt.*;
import java.awt.image.BufferedImage;

public class DFTabAnalysis extends BaseTabAnalysis{

    public DFTabAnalysis(IWindow window, BufferedImage screenshot) {
        super(window, screenshot);
    }

    @Override
    public Rectangle getContentArea() {
        return ImageUtil.createRect(11, 80, 378, 355);
    }

    @Override
    protected void initResources() {

    }

    @Override
    public Rectangle closeArea() {
        return null;
    }

    @Override
    public Rectangle getOriginBounds() {
        return ImageUtil.createRect(168, 94, 631, 489);
    }

    @Override
    public Rectangle getRefImageArea() {
        return ImageUtil.createRect(218, 24, 245, 37);
    }

    @Override
    public BufferedImage getRefImage() {
       return ImageUtil.createImage("iVBORw0KGgoAAAANSUhEUgAAABwAAAAOCAYAAAA8E3wEAAAC8klEQVR4XnVU+09ScRS//1j5zH6wZfLQBnPVAm1NV4ZQays2o1w+wnioA5K0SE1JKyXUKTM1NAoTiUxnZT7KXM5lPqmd7jnX7w0UP9uH7+d87znnc+6BwR2S2CE15x5cvd0DqPeyvjkAyqLH++4PotnpB8NdHyTJ7AnJ4YfmhgcQrOjtxAJoDV5IktTRvd01SvfJcgcclv5vfsc+BO+nliAy/UMkQ+wdcjzyDSRql2CoNbygJDYFM2GGvuEZCPJDINZ+b1NOskx4tr6xA6Njc8TA+Lyo93IoMAtZZx8Cpy5xQ+/LaSo2O4chQyEYNrS+gbrGEdKI5Z/r8GVuhTSaMUN9ZS+kyGxQZvZRjDqW5bWDNAhq3BDX7g2znoQyS39cjHDy3yO+rbMlQHGs4fXKHmr2cWaZOBZeTLxifvU6gwc4LNQauuhSX9UjJgyOfIJUqZW0wzUCKRLrgYZHTtpI47D+t7O0fkaG4MQ8aEqfxxumy2vhzIVHpO0uPyRlW+L0/ebXFKM5M7xW0Q1sS2ptG1TWDYCysEkcqq0rBFvbUTHmsFjHO7NGzATfiul2Twgu6Z/ya/ku5iER1bYBOhH5mhbaTGyOu3OcDFnMYVNmiDr2rVKyTaSj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